package com.dhcc.bpm.modules.metadata.service;

import com.dhcc.bpm.modules.metadata.entity.GateMetadata;
import com.dhcc.bpm.modules.metadata.vo.GateMetadataVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName IGateMetadataService
 * @Description 网关路由元数据关联表 服务类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface IGateMetadataService extends IService<GateMetadata> {

	/**
	 * @Description 自定义分页
	 * @Author daina
	 * @Date 15:15 2020/3/26
	 * @param page
	 * @param gateMetadata
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.metadata.vo.GateMetadataVO>
	 **/
	IPage<GateMetadataVO> selectGateMetadataPage(IPage<GateMetadataVO> page, GateMetadataVO gateMetadata);
	/**
	 * @Description 删除
	 * @Author daina
	 * @Date 15:15 2020/3/26
	 * @param opcGatewayId
	 * @param ids
	 * @return int
	 **/
	int deleteGateMetadata(Long opcGatewayId, String ids);
}
